projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1069e2b
)
Actually use search results from the model
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 24 Jul 2015 19:44:20 +0000
(15:44 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Jul 2015 12:07:39 +0000
(08:07 -0400)
We didn't connect to the signals, so we never picked up
any search results from the model engine. Good thing, since
it was returning the wrong thing.
gtk/gtksearchengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtksearchengine.c
b/gtk/gtksearchengine.c
index f11ce732645f58ed07d2f5237de5aa991b8331f4..eff96923aac9e4e15f665d6fe4a25955f3bf2f5a 100644
(file)
--- a/
gtk/gtksearchengine.c
+++ b/
gtk/gtksearchengine.c
@@
-481,6
+481,7
@@
_gtk_search_engine_set_model (GtkSearchEngine *engine,
if (model)
{
engine->priv->model = _gtk_search_engine_model_new (model);
+ connect_engine_signals (engine->priv->model, engine);
if (engine->priv->query)
_gtk_search_engine_set_query (engine->priv->model, engine->priv->query);
}